package com.xiyu.service.vo.mailbox.mail;

import com.xiyu.service.framework.web.web.core.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;

import com.xiyu.service.enums.common.CommonStatusEnum;
import com.xiyu.service.framework.validation.InEnum;
import org.springframework.format.annotation.DateTimeFormat;
import static com.xiyu.service.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
import java.time.LocalDateTime;

@Schema(description = "根据文件夹ID获取邮件信息")
@Data
public class MailPageMailInput extends PageParam {

    @Schema(description = "正文")
    private String searchContent;

    @Schema(description = "发送时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] sendTime;

    @Schema(description = "邮局文件夹ID")
    private String folderId;

    @Schema(description = "标签")
    private List<String> labelNames;

    @Schema(description = "主题")
    private String subject;

    @Schema(description = "发件人")
    private String fromName;

    @Schema(description = "文件名")
    private String fileName;

    @Schema(description = "收件人")
    private String receiveName;

    @Schema(description = "所属人ID")
    private Long ownerId;

}